var sound5Embed = null;
//
var ap_title = new Array();
var ap_songs = new Array();
//
var click_sound = "sounds/click.mp3";
//
ap_songs[0] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/mozart-mof.mid";
ap_songs[1] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/grieg-hmk.mid";
ap_songs[2] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/mouret-rmt.mid";
ap_songs[3] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/mozart-snf.mid";
ap_songs[4] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/scottjoplin-mlr.mid";
ap_songs[5] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/tchaikovsky-spf.mid";
ap_songs[6] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/bach-tfd.mid";
ap_songs[7] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/pachabel-cdm.mid";
ap_songs[8] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/debussy-cdl.mid";
ap_songs[9] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/beethoven-feb.mid";
ap_songs[10] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/beethoven-msp.mid";
ap_songs[11] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/corelli-tsa.mid";
ap_songs[12] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/loop1.mp3";
ap_songs[13] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/mol_chute.mp3";
ap_songs[14] = "http://audio-music-player.googlecode.com/svn/trunk/sounds/entsagung_r_s.ra";
//
ap_title[0] = "Mozart - Marriage of Figaro";
ap_title[1] = "Grieg - Hall of the Mountain King";
ap_title[2] = "Mouret - Rondeau, Masterpiece Theater";
ap_title[3] = "Mozart - Symphony No. 40, G minor";
ap_title[4] = "Scott Joplin - Maple Leaf Rag";
ap_title[5] = "Tchaikovsky - Sugar Plum Fairy";
ap_title[6] = "J.S. Bach - Toccata and Fugue in D minor";
ap_title[7] = "Pachelbel - Canon in D major";
ap_title[8] = "Claude Debussy - Clair de lune";
ap_title[9] = "Beethoven - Fur Elise, Bagatelle in A minor";
ap_title[10] = "Beethoven - Moonlight Sonata, Piano Sonata No. 14";
ap_title[11] = "Arcangelo Corelli - Trio Sonata";
ap_title[12] = "Short mp3 Music Loop";
ap_title[13] = "Chute mp3 Note by Karlheinz Essl www.essl.at";
ap_title[14] = "Electronics Excerpt Real Media by Karlheinz Essl www.essl.at";
//
//play a midi
function sound5Play(selected_song) {
 sound5Stop();
 sound5Embed = document.createElement("embed");
 sound5Embed.setAttribute("src", selected_song);
 sound5Embed.setAttribute("hidden", true);
 sound5Embed.setAttribute("autostart", true);
 document.body.appendChild(sound5Embed);
}
//
//
function sound5Stop() {
 if ( sound5Embed ) {
 document.body.removeChild(sound5Embed);
 sound5Embed = null;
 }
}
// http://www.zwitserloot.com/files/soundkit/soundcheck.html
// end